package com.ymatou.iapi.sellerproduct.service;

import java.util.HashMap;
import java.util.Map;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;

public class GetSetTopProductsCall extends YmatouAutoTestCall{

	private static String opurl ="/api/Product/GetSetTopProducts";

	public GetSetTopProductsCall() {
		super(EnvSetup.getSystemUrl("sellerproduct_iapi"),opurl,"POST","JSON");
	}
	
	public void addDefHeader() {
		client.addHeader("Content-Type", "application/json");
	}
	
	
	public static void main(String[] args) {
		GetSetTopProductsCall aCall = new GetSetTopProductsCall();
		Map <String, Object> test = new HashMap<String, Object>();
		test.put("UserId", Integer.parseInt(EnvSetup.getData("productsellerid")));
		
		aCall.callAndGetReturnData(test);
	}
	
	


}
